
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
 * This class defines common values that are used throughout the program
 * Normally, error codes, special characters, strings, constants ....
 * 
 * */

namespace BaHuan.Common
{
	public class Definitions
	{
		public static string ENDLINE = "\r\n";
		//+ "" + Definitions.ENDLINE
		public static string USING_SYSTEM_DAO = " using System;" + Definitions.ENDLINE
			+ "using System.Data;" + Definitions.ENDLINE
			+ "using System.Data.Common;" + Definitions.ENDLINE
			+ "using System.Data.SqlTypes;" + Definitions.ENDLINE
			+ "using System.Data.SqlClient;" + Definitions.ENDLINE
			+ "using System.Collections.Generic;" + Definitions.ENDLINE
			+ "using System.Linq;" + Definitions.ENDLINE
			+ "using System.Text;" + Definitions.ENDLINE;
		public static int SUCCESS = 1;
		public static int WRONG_VALUE = -1;
		public static int DUPLICATED_VALUE = -2;
		public static int WRONG_BUSINESS_RULE = -3;
		public static int AUTHENTICATION_FAILED = -101;
		public static int UNKNOWN_ERROR = -999;
	}
}
